package com.shop.dao;

import com.shop.pojo.GoodsOrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface GoodsOrderInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(GoodsOrderInfo record);

    GoodsOrderInfo selectByPrimaryKey(String id);

    List<GoodsOrderInfo> selectAll();

    int updateByPrimaryKey(GoodsOrderInfo record);

    List<GoodsOrderInfo> queryUserOrderByCondition(Map<String,Object> params);
}